package services;

import dao.DaoImpl;
import dao.Dao;

import java.awt.Image;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 11.05.2009
 * Time: 15:46:43
 * To change this template use File | Settings | File Templates.
 */
public class ProjectServiceImpl implements ProjectService{

    private Dao dao;

    public ProjectServiceImpl() {
        dao = new DaoImpl();
    }

    public List<Image> getImages() {
        return dao.getImages();
    }

    public void saveImage(Image image) {
        dao.saveImage(image);
    }

}
